package sreal.study;

public class Client {
    public static void main(String[] args) {
        Subject realSubject=new Subject();
        Subject subject=(Subject)CGProxyFactory.getInstance(realSubject);
        subject.realTask("task1");
    }
}
